Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(navlink): Replace (don't merge) className of active link #10342

Merged

Conversation

Tobbe
Copy link
Member

@Tobbe Tobbe commented Mar 27, 2024

We should be replacing className with activeClassName for the active link. Currently we try to merge them, but that makes it very difficult for end users to have full control over exactly what classes are applied to active links

Fixes #10296

@Tobbe Tobbe added the release:breaking This PR is a breaking change label Mar 27, 2024
@Tobbe Tobbe added this to the next-release-major milestone Mar 27, 2024
@Tobbe Tobbe enabled auto-merge (squash) March 27, 2024 07:27
@Tobbe Tobbe merged commit 6287838 into redwoodjs:main Mar 27, 2024
44 checks passed
@Tobbe Tobbe deleted the tobbe-nav-link-replace-classnames-instead-of-merge branch March 27, 2024 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:breaking This PR is a breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[RFC]: NavLink should not merge classes
2 participants